package com.bdqn.oa.entity;


/**
 * 角色类
 *
 * @author zhouxw
 */
public class Role {
    /**
     * id
     */
    private Integer id;
    /**
     * 角色名
     */
    private String name;
    /**
     * 状态 1.正常 2.禁用
     * 数据库默认为1
     */
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", status=" + status +
                '}';
    }
}
